#pragma once
#include"RingQueue.hpp"


class task
{
public:
    task(int x = 0,int y = 0) : _x(x),_y(y)
    {}
    int operator()()
    {
        return _x + _y;
    }
private:
    int _x = 0;
    int _y = 0;
    int _result = 0;
};